add_subdirectory(lint)
add_subdirectory(join)
add_subdirectory(split)
add_subdirectory(dist)
add_subdirectory(to-swc)
add_subdirectory(from-swc)
add_subdirectory(mirror)
add_subdirectory(decimate)
add_subdirectory(merge)
add_subdirectory(misc)
add_subdirectory(diff)
add_subdirectory(Update)
if(CMAKE_SYSTEM_NAME STREQUAL "Windwos")
    message("This is a Windows system.")
    add_subdirectory(demo)
    add_subdirectory(getcube)
    if(WITH_VP9)
        add_subdirectory(cube2video)
    endif()
    if(NOT MINGW AND WITH_HEVC)
        add_subdirectory(cube2h265)
        add_subdirectory(cube2h265single)
    endif()
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
    message("This is a Linux system.")
    #add_subdirectory(demo)
#add_subdirectory(getcube)
    if(WITH_VP9)
        add_subdirectory(cube2video)
    endif()
    if(NOT MINGW AND WITH_HEVC)
        add_subdirectory(cube2h265)
        add_subdirectory(cube2h265single)
    endif()
endif()



